﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="cur_alltop.aspx.cs" Inherits="SF.Ucenter.admin.customer.cur_alltop" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%--<script type="text/javascript" src="../../scripts/jquery/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="../../scripts/lhgdialog/lhgdialog.js?skin=idialog"></script>--%>

    <script type="text/javascript" src="../../scripts/jquery/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" src="../../scripts/artdialog/dialog-plus-min.js"></script>

    <script type="text/javascript" src="../js/layout.js"></script>
    <link href="../skin/default/style.css" rel="stylesheet" type="text/css" />
    <link href="../../css/pagination.css" rel="stylesheet" type="text/css" />
    <title>客户榜单</title>
</head>

<body class="mainbody">
    <form id="form1" runat="server">

        <!--导航栏-->
        <div class="location">
            <a href="javascript:history.back(-1);" class="back"><i></i><span>返回上一页</span></a>
            <a href="../First.aspx" class="home"><i></i><span>首页</span></a>
            <i class="arrow"></i>
            <span>客户榜单</span>
        </div>
        <!--/导航栏-->

        <!--工具栏-->
        <div id="floatHead" class="toolbar-wrap">
            <div class="toolbar">
                <div class="box-wrap">
                    <div class="l-list">
                        <ul class="icon-list">                  
                        </ul>
                    </div>
                    <div class="r-list">
                        <asp:TextBox ID="txtKeywords" runat="server" CssClass="keyword" />
                        <asp:LinkButton ID="lbtnSearch" runat="server" CssClass="btn-search" OnClick="lbtnSearch_Click">查询</asp:LinkButton>
                    </div>
                </div>
            </div>
        </div>
        <!--/工具栏-->

        <!--列表-->
        <asp:Repeater ID="rptList" runat="server">
            <HeaderTemplate>
                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="ltable">
                    <tr>
                        <th width="10%">微信头像</th>
                        <th align="left" width="16%">用户编号</th>
                        <th align="left" width="10%">微信昵称</th>
                        <th align="left" width="10%">团队人数</th>
                        <th align="left" width="10%">销售额</th>
                        <th align="left" width="10%">排名</th>
                        <th align="left" width="12%">注册时间</th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr style="color:<%#getColorByMoneys(Eval("openID"),Eval("province"))%>">
                    <td align="center"><img style="width:50px;height:50px;" alt="头像" src="<%# string.IsNullOrEmpty(Eval("photoUri").ToString())?"/imgs/0.jpg":Eval("photoUri") %>" /></td></td>
                    <%--<a href="cur_oper.aspx?action=<%#DTcms.Common.DTEnums.ActionEnum.Edit %>&id=<%#Eval("id")%>"></a>--%>
                    <td><%# Eval("userNum") %></td>
                    <td><%# Eval("nickName") %></td>
                    <td><%# Eval("openID") %></td>
                    <td><%# Eval("province") %></td>
                    <td><%# Eval("isAttention") %></td>
                    <td><%#string.Format("{0:g}",Eval("addtime"))%></td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                <%#rptList.Items.Count == 0 ? "<tr><td align=\"center\" colspan=\"8\">暂无记录</td></tr>" : ""%>
            </table>
            </FooterTemplate>
        </asp:Repeater>
        <!--/列表-->

        <!--内容底部-->
        <div class="line20"></div>
        <div class="pagelist">
            <div class="l-btns">
                <span>显示</span><asp:TextBox ID="txtPageNum" runat="server" CssClass="pagenum" onkeydown="return checkNumber(event);" OnTextChanged="txtPageNum_TextChanged" AutoPostBack="True"></asp:TextBox><span>条/页</span>
            </div>
            <div id="PageContent" runat="server" class="default"></div>
        </div>
        <!--/内容底部-->
    </form>
</body>

</html>
